SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE procedure dbo.DnnProduct_GetPortalAliasByPortalID

@PortalID int

as

select *
from dbo.DnnProduct_PortalAlias
where (PortalID = @PortalID or @PortalID = -1)










GO
